package com.ncst.mvcweb.dao;

import com.ncst.mvcweb.entity.Product;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.jpa.repository.JpaRepository;

public interface ProductPageDao extends JpaRepository<Product,Integer> {
    Page<Product> findProductsByOrderById(PageRequest page);
}
